/**************************************************************
Arise Engine		Host.h

					E-mail:	arise_engine@mail.ru

created:			03.02.2007
last changes:		22.02.2008
**************************************************************/
#pragma once

#include "..\engine\IHost.h" 
#include "..\gui\Gui.h" 
#include "ScriptEngine.h"
#include "..\scene_demo\Scene.h" 
#include "..\physx\PhysicEngine.h" 
#include "..\engine\Console.h"

#define ARISE_ENGINE_VERSION	0.003f

#define DATA_FOLDER				"Data\\"


class Host: public IHost
{
private:

	bool is_render_2d;
	void ScanCommandArguments();

public:
	Host();
	virtual ~Host();
	
	ScriptEngine	m_script_engine;
	PhysicEngine	m_physic_engine;
	Gui				m_gui;
	Scene			m_scene;
	Console			m_console;
	

	bool Init();
	void Update();
	void UpdateInput();
	void Render();
	void Release();

	LPDIRECT3DTEXTURE9 LoadTexture(const std::string tex_name);
};


extern Host g_host;



